package ShapeXmlbean.impl;

import ShapeXmlbean.ShapeType;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.SimpleValue;
import org.apache.xmlbeans.XmlString;
import org.apache.xmlbeans.impl.values.TypeStore;
import org.apache.xmlbeans.impl.values.XmlComplexContentImpl;

public class ShapeTypeImpl extends XmlComplexContentImpl
  implements ShapeType
{
  private static final QName INDEX$0 = new QName("", "index");
  private static final QName DESCRIPTION$2 = new QName("", "description");
  private static final QName DETAIL$4 = new QName("", "detail");

  public ShapeTypeImpl(SchemaType paramSchemaType)
  {
    super(paramSchemaType);
  }

  public String getIndex()
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(INDEX$0, 0);
      if (localSimpleValue == null)
        return null;
      return localSimpleValue.getStringValue();
    }
  }

  public XmlString xgetIndex()
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(INDEX$0, 0);
      return localXmlString;
    }
  }

  public void setIndex(String paramString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(INDEX$0, 0);
      if (localSimpleValue == null)
        localSimpleValue = (SimpleValue)get_store().add_element_user(INDEX$0);
      localSimpleValue.setStringValue(paramString);
    }
  }

  public void xsetIndex(XmlString paramXmlString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(INDEX$0, 0);
      if (localXmlString == null)
        localXmlString = (XmlString)get_store().add_element_user(INDEX$0);
      localXmlString.set(paramXmlString);
    }
  }

  public String getDescription()
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);
      if (localSimpleValue == null)
        return null;
      return localSimpleValue.getStringValue();
    }
  }

  public XmlString xgetDescription()
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(DESCRIPTION$2, 0);
      return localXmlString;
    }
  }

  public void setDescription(String paramString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);
      if (localSimpleValue == null)
        localSimpleValue = (SimpleValue)get_store().add_element_user(DESCRIPTION$2);
      localSimpleValue.setStringValue(paramString);
    }
  }

  public void xsetDescription(XmlString paramXmlString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(DESCRIPTION$2, 0);
      if (localXmlString == null)
        localXmlString = (XmlString)get_store().add_element_user(DESCRIPTION$2);
      localXmlString.set(paramXmlString);
    }
  }

  public String getDetail()
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(DETAIL$4, 0);
      if (localSimpleValue == null)
        return null;
      return localSimpleValue.getStringValue();
    }
  }

  public XmlString xgetDetail()
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(DETAIL$4, 0);
      return localXmlString;
    }
  }

  public void setDetail(String paramString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      SimpleValue localSimpleValue = null;
      localSimpleValue = (SimpleValue)get_store().find_element_user(DETAIL$4, 0);
      if (localSimpleValue == null)
        localSimpleValue = (SimpleValue)get_store().add_element_user(DETAIL$4);
      localSimpleValue.setStringValue(paramString);
    }
  }

  public void xsetDetail(XmlString paramXmlString)
  {
    synchronized (monitor())
    {
      check_orphaned();
      XmlString localXmlString = null;
      localXmlString = (XmlString)get_store().find_element_user(DETAIL$4, 0);
      if (localXmlString == null)
        localXmlString = (XmlString)get_store().add_element_user(DETAIL$4);
      localXmlString.set(paramXmlString);
    }
  }
}

/* Location:           C:\Users\Administrator\Desktop\奥特百叶窗\Shutter DesignerV3.1\CurtainDesign.jar
 * Qualified Name:     ShapeXmlbean.impl.ShapeTypeImpl
 * JD-Core Version:    0.6.0
 */